<style>
	.cate_choose{
	    background-color: #ea5514;
    	color: white !important;
	}
</style>

<div class="selector">
	<div class="demand selector_list_style clearfix">
		<span>{$cat_tree['t_xq']["name"]}：</span>
		<ul>
			<foreach name='cat_tree[t_xq]["childs"]' item='vo'>
				<li>
					<a class="litle_menu_drop_title">{$vo.name}</a>
					<div class="litle_menu_drop">
						<foreach name='vo["childs"]' item='vo_childs'>
							<dl>
								<dt><a>{$vo_childs.name}</a></dt>
								<dd>
									<foreach name='vo_childs["childs"]' item='vo_childs_childs'>
									
										<a href="{:u('search/index',['t_xq'=>$vo_childs_childs[cid],'search'=>$search,$searchBarKey=>$searchBarVal])}" class='{:in_array($vo_childs_childs[cid],$searchIdLog) ? "cate_choose" :"" }'>
											{$vo_childs_childs.name}
										</a>
									</foreach>
								</dd>
							</dl>
						</foreach>
					</div>
				</li>
			</foreach>
		</ul>
	</div>
	<div class="industry selector_list_style clearfix">
		<span>{$cat_tree['t_hy']["name"]}：</span>
		<ul>
			<foreach name='cat_tree[t_hy]["childs"]' item='vo'>
				<li>
					<a href="{:u('search/index',['t_hy'=>$vo[cid],'search'=>$search,$searchBarKey=>$searchBarVal])}" class='{:in_array($vo[cid],$searchIdLog) ? "cate_choose" :"" }'>
						{$vo.name}
					</a>
				</li>
			</foreach>
			<div class="more">更多<i></i></div>
		</ul>
	</div>
	<div class="time selector_list_style clearfix">
		<span>{$cat_tree['t_sj']["name"]}：</span>
		
		<ul>
			<foreach name='cat_tree[t_sj]["childs"]' item='vo'>
				<li>
					<a href="{:u('search/index',['t_sj'=>$vo[cid],'search'=>$search,$searchBarKey=>$searchBarVal])}" class='{:in_array($vo[cid],$searchIdLog) ? "cate_choose" :"" }'>
						{$vo.name}
					</a>
				</li>
			</foreach>
			<div class="early more">
				更早
				<i></i>
			</div>

			<form class="time_FT" action="{:u('search/index',['search'=>$search,$searchBarKey=>$searchBarVal])}" method="get">
				<input type="hidden" name='search' value='{$search}' />
                <input type="hidden" name='c' value='Search' />
                <input type="hidden" name='a' value='index' />
				<span style="line-height:4px;">From</span>
				<div class="FT_box">
					<input type="text" id="From_year" placeholder="Year" maxlength='4' name="Fromyear" />
					<i class="yaer_up"></i>
					<i class="yaer_down"></i>
				</div>

				<span style="line-height:4px;">To</span>
				<div class="FT_box">
					<input type="text" id="To_year" placeholder="Year" maxlength='4' name="Toyear" />
					<i class="yaer_up"></i>
					<i class="yaer_down"></i>
				</div>
				<input type="submit" value="Go" id="year_go" />
				<!--  <b id="year_go" value="Submit">Go</b> -->
			</form>

		</ul>
	</div>
	<div class="prize selector_list_style clearfix">
		<span>{$cat_tree['t_jx']["name"]}：</span>
		
		<ul>
			<foreach name='cat_tree[t_jx]["childs"]' item='vo'>
			<li>
				<a class="litle_menu_drop_title">
					{$vo.name}
				</a>
				<div class="litle_menu_drop">
					<foreach name='vo[childs]' item='vo_childs'>
						<a href="{:u('search/index',['t_jx'=>$vo_childs[cid],'search'=>$search,$searchBarKey=>$searchBarVal])}" class='{:in_array($vo_childs[cid],$searchIdLog) ? "cate_choose" :"" }'>
							{$vo_childs.name}
						</a>
					</foreach>
				</div>
			</li>
			</foreach>
		</ul>
	</div>
	
	<div class="country selector_list_style clearfix">
		<span>{$cat_tree['t_gj']["name"]}：</span>
		<ul>
			<foreach name='cat_tree[t_gj]["childs"]' item='vo'>
			<li>
				<a href="{:u('search/index',['t_gj'=>$vo[cid],'search'=>$search,$searchBarKey=>$searchBarVal])}" class='{:in_array($vo[cid],$searchIdLog) ? "cate_choose" :"" }'>
					{$vo.name}
				</a>
			</li>
			</foreach>
			<div class="more">更多<i></i></div>
		</ul>
	</div>
	<div class="type selector_list_style">
		<span>{$cat_tree[t_lx]["name"]}：</span>
		<ul>
			<foreach name='cat_tree[t_lx]["childs"]' item='vo'>
			<li>
				<a href="{:u('search/index',['t_lx'=>$vo[cid],'search'=>$search,$searchBarKey=>$searchBarVal])}" class='{:in_array($vo[cid],$searchIdLog) ? "cate_choose" :"" }'>
					{$vo.name}
				</a>
			</li>
			</foreach>
		</ul>
	</div>
</div>

<!-- 搜索标签栏位 -->
<div class='search_result'>
	<ul>
		<foreach name='searchIdLog' item='vo' key='k'>	
			<li class="fl">
				<a class="search_result_closebtn" href="{:U('search/index',[$k=>$vo,'search'=>$search,'searchDel'=>true])}">
				</a>
				{$searchIdLogName[$vo]}
			</li>
		</foreach>
		<present name='searchBarName'>
			<li class="fl">
				<a class="search_result_closebtn" href="{:U('search/index',['search'=>$search])}">
				</a>
				{$searchBarName}:"{$searchBarVal}"
			</li>
		</present> 	
		
		<div class="clear"></div>
	</ul>
</div>